import BaseController from '../../core/baseController';


export default class ShopController extends BaseController {
  constructor(ctx) {
    super(ctx)
    this.service = ctx.service.shop.nav,
    this.modelPrefix = 'statistics.shop'
  }


  // 营业额
  async business() {
    const result = await this.ctx.service.statistics.shop.business();

    if (result) {
      this.ctx.success({
        data: result
      });
    }
  }
}
